#include <map>
#include <cuda_runtime.h>
#include "Surface.h"


class LabelEquivalenceSeg;

class SurfacesHandler{
public:
	SurfacesHandler();
	~SurfacesHandler();

	void processSurfaces(LabelEquivalenceSeg* seg, float3* verticeMap);
	void mergeSurfaces(SurfacesHandler* other);
	void reset();
	void visualizeSurfaces();




private:
	std::map<int, Surface> surfaces;
	int numSurfaces;
};